Differentiating between actions and scripts You may notice that Adobe GoLive also includes some built-in Scripts, which are somewhat similar to Actions. These are scripts such as the URL Popup or Browser Switch in the Smart tab of the Objects palette. Adobe GoLive Scripts differ from Actions in several ways. Take a look at the Jscripts folder to see how these are organized. Here you will see the organization of Adobe GoLive script and action files. Adobe GoLive Script files are JavaScript snippets saved with the .scpt extension. Adobe GoLive actions are HTML files which include several components and usually use the .action extension. Open up the file UPMain.scpt in the URLPopup folder. You will see that it only contains the JavaScript code for the URLPopup menu item: function CSURLPopupShow(formName, popupName, target) { var pop-up = document[formName].elements[popupName]; window.open(pop-up.options[pop-up.selectedIndex].value, target); pop-up.selectedIndex = 0; } This is the actual JavaScript code that is used when you place an URLPopup object into a Web page. Adobe GoLive will fetch the code from this file and place it into your HTML. If you want, you can modify this code with your own JavaScript, and Adobe GoLive will use this code instead. As long as you create valid code and save it in the correct location with the proper extension, you can customize a script file however you like. However, a big difference between scripts and actions is that if you create new scripts they do not show up automatically in Adobe GoLive. New scripts can only be accessed by referencing them from within actions or from within other scripts. The actions and scripts available in the Adobe GoLive Objects palette are hard coded in C++ and cannot currently be extended. Creating Actions > Differentiating between actions and scripts |